home *** CD-ROM | disk | FTP | other *** search
- public class CodexSector extends Codex {
- public native int SetFlags(int var1);
-
- public native int GetNumPortals();
-
- public native int GetFlags();
-
- public native int ClearFlags(int var1);
-
- public native int GetNumSurfaces();
-
- public CodexSector(int x) {
- if (x < 0) {
- super.guid = 0;
- } else {
- super.guid = x;
- }
-
- }
-
- public static native int FindAtPos(float[] var0, int var1);
-
- public native boolean EnablePortals();
-
- public int FindAtPos(float[] position) {
- return FindAtPos((float[])position, 0);
- }
-
- public int FindAtPos(float x, float y, float z, int hintSectorGuid) {
- float[] pos = new float[3];
- pos[0] = x;
- pos[1] = y;
- pos[2] = z;
- return FindAtPos(pos, hintSectorGuid);
- }
-
- public int FindAtPos(float x, float y, float z) {
- float[] pos = new float[3];
- pos[0] = x;
- pos[1] = y;
- pos[2] = z;
- return FindAtPos((float[])pos, 0);
- }
-
- public int FindAtPos(CodexVector vec, int hintSectorGuid) {
- return FindAtPos(vec.AsArray(), hintSectorGuid);
- }
-
- public int FindAtPos(CodexVector vec) {
- return FindAtPos((float[])vec.AsArray(), 0);
- }
-
- public native int GetNumVertices();
-
- public native int GetNumRegions();
-
- public native int GetFirstThing();
-
- public native boolean DisablePortals();
- }
-